function formatImage(imgHash) {
    if (!imgHash){
        return "";
    }
    let s1 = imgHash.slice(0, 1);
    let s2 = imgHash.slice(1, 3);
    let s3 = imgHash.slice(3);
    let s4 = imgHash.slice(32);
    return `https://fuss10.elemecdn.com/${s1}/${s2}/${s3}.${s4}`;
}

export {formatImage}